package com.jml.session;

import com.jml.statement.MappedStatement;
import java.util.List;

//SqlSession里面是做查询
public interface SqlSession {
    <T> T getMapper(Class<T> type) throws Exception;

    <T> T selectOne(MappedStatement statement) throws Exception;

    <T> List<T> selectList(MappedStatement statement);
}
